package com.ruoyi.procurement.domain;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报损记录对象 ps_reporting_losses
 * 
 * @author ruoyi
 * @date 2023-10-11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel("报损记录对象")
public class PsReportingLosses extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 物品id */
    @Excel(name = "物品id")
    @ApiModelProperty("物品id ")
    private String psGoodsId;

    /** 报损数量 */
    @Excel(name = "报损数量")
    private BigDecimal psGoodsNum;
    @Excel(name = "库存剩余")
    private BigDecimal psGoodsNumRemaining;

    /** 数量单位 */
    @Excel(name = "数量单位")
    private String psGoodsUnit;

    /** 报损原因 */
    @Excel(name = "报损原因")
    private String psGoodsWhy;

    @Excel(name = "报损创建人")
    private String createByName;

    /** 删除标志 0存在 2删除 */
    private String delFlag;

}
